OpenBuildings GenerativeComponents Help

Initializing a node

As with many things using the Geometry library there is more than one way of doing things. The following shows three methods of initiating a DPoint3d from an existing Point.

	DPoint3d ptD3d = originPoint.DPoint3d;
	DPoint3d ptD3d = new DPoint3d();
	ptD3d.Init(ref originPoint.DPoint3d);
	DPoint3d ptD3d = new DPoint3d(ref originPoint.DPoint3d.X,
ref originPoint.DPoint3d.Y, ref originPoint.DPoint3d.Z);